import {Entity, Column, PrimaryColumn} from 'typeorm';

@Entity()
export class Books {
  @PrimaryColumn()
  _id: string;

  @Column({ length: 500 })
  title: string;

  @Column({ length: 500 })
  majorCate: string;
}
